<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<form:form commandName="SysDeptRoomFilter" cssClass="form-horizontal" role="form">
    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right" for="name-filter">科室名称</label>
        <div class="col-sm-4">
            <input type="text" name="roomName" id="name-filter" placeholder="请输入科室名称" class="form-control"
                   value="${SysDeptRoomFilter.roomName}">
        </div>
        <label class="col-sm-1 control-label no-padding-right" for="deptId">所属部门</label>
        <div class="col-sm-4">
            <select id="deptId" name="deptId" class="form-control">
                <option value="">选择部门</option>
                <c:forEach items="${depts}" var="dept">
                    <option value="${dept.sysId}">${dept.deptName}</option>
                </c:forEach>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right" for=orderBy>排序</label>
        <div class="col-sm-4">
            <input type="number" name="orderBy" id="orderBy" placeholder="请输入排序" value="${SysDeptRoomFilter.orderBy}"
                   class="form-control">
        </div>

        <label class="col-sm-1 control-label no-padding-right" for="state">状态</label>
        <div class="col-sm-4">
            <form:select path="state" items="${redis:getDictList('DeptState',false)}" itemLabel="name" itemValue="basId"
                         cssClass="form-control required"></form:select>
        </div>
    </div>


    <div class="form-group">
        <label class="col-sm-2 control-label no-padding-right" for=orderBy>分管</label>
        <div class="col-sm-4">

            <select type="number" name="fgLeader" id="type" placeholder="请选择分管领导" class="form-control">
                <option value="">选择分管领导</option>
                <c:forEach items="${fgLeaders}" var="leader">
                    <option value="${leader.userId}"  >${leader.name}</option>
                </c:forEach>
            </select>

        </div>


    </div>

</form:form>
<script type="text/javascript">

</script>
